#pragma once
#include <iostream>
#include <string>
#include <cstdio>
#include <cstring>
#include <stdarg.h>
#define LOG "./log.txt"
enum{
    WARING = 1,
    ERROR,
    FATAL,
    NORMAL,
    DEBUG
};

const char* level_string(int level);

void logmessage(int level,const char* message,...);